package com.woniu.common.dto;

import com.woniu.common.entity.WaresSkuAttributeValue;
import com.woniu.common.entity.WaresSpuAttributeValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: xuan
 * @Date: 2024/8/2 16:04
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WaresDTO {
    //此类是商品的具体价格信息是sku,
    //分类id
    private Integer categoryCid;
    //分类名字
    private String categoryName;
    //skuid
    private Integer spuId;
    //商品id
    private Integer skuId;
    //商品标题
    private String title;
    //商品卖点.介绍
    private String description;
    //商品名字
    private String spuName;
    //商品价格
    private BigDecimal price;
    //商品图片
    private String vender;
    //商品库存
    private Integer stock;
    //商品状态
    private Integer status;
    //产品属性值
    private List<WaresSkuAttributeValue> skuAttributeValueList;
    //具体商品属性值
    private List<WaresSpuAttributeValue> spuAttributeValueList;


}
